package com.psp.bu.persist.dao;

import com.psp.bu.model.UserBean;
import com.psp.bu.model.UserLoginLogBean;
import com.psp.bu.model.UserUpdateLogBean;

public abstract interface UserDao {

	int insert(UserBean userBean);

	UserBean selectOneByPhone(String userName);

	int updateLoginTime(String buid);

	UserBean selectOne(String uid);

	int updatePwd(UserBean user);

	int updateUser(UserBean user);

	// 登录日志
	int insertLoginLog(UserLoginLogBean loginLog);

	// 更新日志
	int insertUpdateLog(UserUpdateLogBean updateLog);

}
